void main(){
  var list=[1,2,3,4,5];
  for(var index=0;index<list.length;index++){
    print(list[index]);
  }
  for(var item in list){
    if(item == 2){
      continue;
    }
    print(item);
  }

  int count=0;
  while(count<5){
    print(count++);
  }
  do{
    print(count--);
    if(count==2){
      break;
    }
  }while(count>0&&count<5);
}
